import request from '@/utils/request'


const api_name = '/user/apply'

export default {
//列表
pageList(page, limit, searchObj) {
    return request({
        url: `${api_name}/${page}/${limit}`,
        method: `post`,
        data: searchObj
    })
},
 //根据id删除
 removeById(id) {
    return request({
        url: `${api_name}/deleteId/${id}`,
        method: `delete`
    })
},
Batchdeleter(idList) {
    return request({
        url: `${api_name}/Batch_delete`,
        method: `delete`,
        data: idList
    })
},
//根据id查询
okById(id) {
    return request({
      url: `${api_name}/okById/${id}`,
      method: `delete`
    })
},
}